package com.blb.mybatis.service.impl;


import com.blb.mybatis.dto.LogisticsSearch;
import com.blb.mybatis.entity.Logistics;
import com.blb.mybatis.mapper.LogisticsMapper;
import com.blb.mybatis.service.LogisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LogisticsServiceImpl implements LogisticsService {
    @Autowired
    private LogisticsMapper logisticsMapper;
    @Override
    public List<Logistics> selectAll() {
        return logisticsMapper.selectAll();
    }

    @Override
    public void delLogistics(Long id) {

    }

    @Override
    public void addLogistics(Logistics logistics) {

    }

    @Override
    public void updateLogistics(Logistics logistics) {

    }

    @Override
    public List<LogisticsSearch> selectAllLogistics() {
        return logisticsMapper.selectAllLogistics();
    }
}
